#ifndef __SERVER_H__
#define __SERVER_H__


#include "define.h"



/**
 * @brief 系统域的配置结构体;
 */
struct server_conf_st
{		
	int type; //域级别;
	std::vector<char *> ipaddr; //
	std::vector<char *> portset;
	size_t ipaddrcount; //ip地址的个数;
	size_t portcount; //端口个数;
	int processThreadNum; //处理线程的数目;
	int listenThreadNum; //监听线程数目;
	int confpolicy;  //配置策略;
};



/**
 * @brief 服务的上下文;
 */
struct server_ctx
{


};



/**
 * @brief 服务类;
 */
class Server
{
	public:
		Server();
		~Server();
		int init();
		int deint();
	private:

};

































#endif

